@import "@/style/scss/index.scss";

.content-wrapper {
  height: 555px;
  width: 728px;
  margin-top: 32px;
  .content-row {
    display: flex;
    margin-right: 73px;
    margin-left: 77px;
    margin-bottom: 34px;
    .row-name {
      .name-required {
        font-size: 24px;
        font-weight: 400;
        color: #F56666;
      }
      .name-text {
        font-size: 24px;
        font-weight: 400;
        color: #999999;
      }
    }
    .input-box {
      margin-left: auto;
      background: #ECF5FF;
      border-radius: 4px;
      width: 462px;
      input {
        margin-left: 24px;
        width: 438px;
        height: 42px;
        border: transparent;
        background: transparent;
        color: #2F8AEE;
        font-size: 16px;
      }
      span {
        margin-left: 24px;
        color: #2F8AEE;
        font-size: 16px;
        line-height: 42px;
      }
    }
    &.fixed {
      margin-bottom: 5px;
    }
    .type-row {
      width: 462px;
      margin-left: auto;
      display: flex;
      justify-content: space-between;
      .type-button {
        display: flex;
        .type-image {
          width: 24px;
          height: 24px;
          margin: auto;
        }
        .type-name {
          margin-left: 9px;
          font-size: 24px;
          font-weight: 400;
          color: #666666;
          margin-top: auto;
          &.active {
            color: #308AEE;
          }
        }
      }

    }
    .media-row {
      width: 462px;
      margin-left: auto;
      display: flex;
      justify-content: space-between;
      .media-name-content {
        width: 340px;
        height: 42px;
        background: #ECF6FF;
        border-radius: 4px;
        .media-name {
          margin-left: 24px;
          line-height: 42px;
          font-size: 16px;
          font-weight: 400;
          color: #308AEE;
          text-overflow: ellipsis;
          white-space: nowrap;
          overflow: hidden;
          width: calc(100% - 48px);
          display: inline-block;
        }
      }
      .pickup-button {
        width: 100px;
        height: 42px;
        background: #308AEE;
        border-radius: 4px;
        font-size: 18px;
        font-weight: 400;
        color: #FFFFFF;
      }
      .upload-input {
        display: none;
      }
    }
  }
  .image-box {
    overflow: scroll;
    display: flex;
    flex-wrap: wrap;
    width: 452px;
    max-height: 230px;
    margin-left: auto;
    background: #FFFFFF;
    border: 1px solid #2F8AEE;
    border-radius: 4px;
    justify-content: flex-start;
    padding-left: 10px;
    padding-top: 10px;
    .image-grid {
      border: 1px solid #D5E1EE;
      border-radius: 10px;
      width: 78px;
      height: 78px;
      margin-right: 9px;
      margin-bottom: 9px;
      position: relative;
      .image-item {
        width: 78px;
        height: 78px;
      }
      .image-selected {
        position: absolute;
        width: 35px;
        height: 36px;
        position: absolute;
        bottom: 0;
        right: 0;
      }
      &.active {
        border: 1px solid #308AEE;
        border-radius: 10px;
      }
    }
  }
}

